package OJDemo输入输出;

import java.util.Arrays;
import java.util.Scanner;

/**
 * @author zc
 * @version 1.0
 * @date 2021/9/7 13:58
 */
public class Main10 {

    public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);
        while(cin.hasNext()){
            String[] s = cin.nextLine().split(" ");
            Arrays.sort(s);

            for (int i = 0; i <s.length; i++) {
                System.out.print(s[i]+" ");
            }
            System.out.println();
        }
    }
}
